package model.base;
import java.io.Serializable;
import java.util.ArrayList;
import model.algorithm.Action;

public class Solution implements Serializable {						// A class that all it has is an array list of actions which represent the solution made by the chosen algorithm	

	private ArrayList<Action> actions;		// enables a better separation between the view and the model
	private String theProblem;

	// getter
	public ArrayList<Action> getActions() {
		return actions;
	}
	
	public String getTheProblem() {
		return theProblem;
	}

	// setter
	public void setActions(ArrayList<Action> actions) {
		this.actions = actions;
	}

	public void setTheProblem(String theProblem) {
		this.theProblem = theProblem;
	}

}
